package com.sservice.banfu.mapper;

import com.sservice.banfu.e.SaleInfo;
import com.sservice.generator.dao.MyMapper;

import java.util.List;

public interface SaleInfoMapper extends MyMapper<SaleInfo> {
    /**
     * 按条件查询
     *
     * @param si
     * @return
     */
    List<SaleInfo> selectBy(SaleInfo si);

    /**
     * 根据salePersonId查找
     *
     * @param si
     * @return
     */
    SaleInfo selectOneBySalePersonId(SaleInfo si);
}